/*
 * MyTreeTest.fx
 *
 * Created on 2009-7-17, 15:49:56
 */

package com.sjtu.fx.test;

import javafx.scene.CustomNode;
import javafx.scene.Node;

import javafx.scene.Group;
import com.sjtu.fx.tools.MyTree;

import com.sjtu.fx.tools.MyTree.MyTreeCell;
import javafx.stage.Stage;
import javafx.scene.Scene;

/**
 * @author Administrator
 */



       Stage {
        title : "MyApp"
        scene: Scene {
            width: 200
            height: 200
            content: [
                MyTree{

                    root: MyTreeCell{
                        text:"root"
                        cells:[
                            MyTreeCell{
                                text: "letters"
                            }
                            MyTreeCell{
                                text:"a"
                                cells:[
                                    for(i in [0..9])
                                    MyTreeCell{
                                        text:"{i}"

                                    }

                                    ]
                            }


                            ]
                    }
                }

                ]
        }





     

}
